<template>
	<div class="index">
		<Banner></Banner>
		<Nav></Nav>
		<div class="miss" :class="this.$store.state.flag ? 'miss1' : 'miss2'" style="background-color: #FFFFFF">
			<div class="miss_box">
				<router-view/>
			</div>
		</div>
	</div>
</template>

<script>
	import Nav from '../components/Nav.vue';
	import Banner from '../components/banner.vue';
	import { userRejister} from "../untils/user.js";
	export default{
		name: "Index",
		components: {
			Nav,
			Banner
		},
		data() {
			return {
				data: { c: 'b', a: 'd' },
			}
		},
		created() {
			// userRejister(this.data).then(res => {
			// 	console.log(res)
			// })
		},
		methods: {
			
		},
	}
</script>

<style>
</style>
